<?php

namespace maotool\core\facade;

use maotool\core\Container;
use maotool\core\Facade;
use maotool\core\Instance;

/**
 * @see \maotool\core\Session
 * @package maotool\core
 * @mixin \maotool\core\Session
 * @method static string getName() 会话名称
 * @method static string getId() 会话编号
 */
class Session extends Facade
{

    /**
     * 获取Facade对应的容器
     * @return Instance
     */
    protected static function getFacadeContainer()
    {
        return Container::getContainer()->getInstanceByClass(\maotool\core\Session::class);
    }

}